package com.hudilao.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户会员类
 */
@Data
@TableName("customer_membership")
public class CustomerMembership implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;            //会员id

    private String name;        //会员昵称

    private String password;    //会员密码

    private Long customerId;    //用户id

    private BigDecimal balance; //会员余额

    private int point;          //会员积分
}


